import { AxiosRequestConfig } from "axios";

export const DEFAULT_API = "https://api.bitbine.com/api";

export const BASE_API_URL = "https://api.bitbine.com/api";

//Auth Api connections !

export interface ApiConfigTypes {
  method: string | AxiosRequestConfig;
  url: string;
}

export const POST_REGISTER_USER = {
  method: "post",
  url: "/auth/register",
};

export const POST_RESEND_EMAIL_VERIFICATION = {
  method: "post",
  url: "/auth/resend-email",
};

export const POST_VERIFY_REGISTER_EMAIL = {
  method: "post",
  url: `/auth/verify/email/`,
};
export const POST_LOGIN_USER = {
  method: "post",
  url: "/auth/login",
};
export const POST_SEND_PHONE_CONFIRMATION = {
  method: "post",
  url: "/auth/otp/phone",
};

export const POST_VERIFY_PHONE_CONFIRMATION = {
  method: "post",
  url: "/auth/verify/phone",
};

export const POST_PHONE_RESET_PASSWORD = {
  method: "post",
  url: "/auth/reset-password/phone",
};
export const POST_VERIFY_PHONE_RESET_PASSWORD = {
  method: "put",
  url: "/auth/verify/phone-reset-password",
};

export const POST_EMAIL_RESET_PASSWORD = {
  method: "post",
  url: "/auth/reset-password/email",
};

export const PUT_VERIFY_EMAIL_RESET_PASSWORD = {
  method: "put",
  url: "/auth/verify/email-reset-password",
};

export const GET_LANGUAGES_API = {
  method: "get",
  url: "/",
};

export const POST_RECAPTCHA_VERIFICATION_API = {
  method: "post",
  url: "/reacaptcha",
};
